﻿using System;

namespace IFD2
{
    public partial class SurchargeLog : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.QueryString["code"] == null)
                {
                    lblError.Text = "Bad page calling!";
                }
                else
                {
                    lblCode.Text = Request.QueryString["code"].ToString().Trim().ToUpper();
                }
            }
            if (Session["ACL"].ToString().IndexOf("FB3") < 0)
            {
                Response.Redirect("unauthorized.aspx");
            }
        }

        protected void lbtnQuery_Click(object sender, EventArgs e)
        {
            GridView1.DataBind();
        }
    }
}